<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<script type="text/javascript" src="../../js/batch.js"></script>
	</head>
	<body>
		<div id="mainPanel">
			<jsp:include page="../../top.jsp" flush="false"/>
			<div id="contentsPanel">
				<form name="batchform" method="post" action="batch.jsp"	enctype="multipart/form-data" onsubmit=preprocessing()>
					<strong>1. Input Option: Select your input file format</strong>
					<p>
						<input type="radio" name="seqtype" value="se">Single End 
						<input type="radio" name="seqtype" value="pe">Paired End
					<p>
					<select name="inputOption">
						<option value="fastq">fastq<option />
						<option value="fasta">fasta<option />
					</select>
					<fieldset style="padding: 5px; background-color: #eeeeee; font-size: 9pt;">
						<div id=display_items>No files..</div>
					</fieldset>
			
					<img src=attachment.png style="cursor: pointer" style=width:28;height:10 align=middle>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
					<font style="font-size: 9pt; text-decoration: underline;">Attach a file</font>
					<div style='width: 100; height: 16; overflow: hidden; position: relative; top: -18px; filter: alpha(opacity = 0); -moz-opacity: 0'>
						<div id=file_items></div>
						<span id=file_item1>
							<input type=file name=file1 id=file1 onchange=attach(this) size=1 style=width:0;cursor:pointer>
						</span>
					</div>
					<p>
					<strong>2. Reference Option: Select the reference genome</strong>
					<p>
						<select name="reference">
							<option selected value="hg19">hg19</option>
							<option value="hg18">hg18</option>
						</select>
					<p>
					<strong>3. Mapper Option: Select Mapping program</strong>
					<p>
						<select name="mapper">
							<option selected value="bwa">bwa</option>
							<option value="SOAP2">SOAP2</option>
						</select>
					<p>
					
					<strong>4. Node Option: Select the number of node that you want to use</strong>
					<p>
						<input type="radio" name="node_num" value="sn">Single Node 
						<input	type="radio" name="node_num" value="mn">Multi Nodes
					</p>
					<input type="submit" value="Run!" />
					<p>
				</form>
			</div>
			<jsp:include page="../../bottom.jsp" flush="false"/>
		</div>
	</body>
</html>